//
//  PhotoColCell.m
//  RoadMaintain
//
//  Created by 岳学坤 on 2017/3/9.
//  Copyright © 2017年 岳学坤. All rights reserved.
//

#import "PhotoColCell.h"

@implementation PhotoColCell
- (instancetype)initWithFrame:(CGRect)frame{
   
    if (self = [super initWithFrame:frame]) {
        self.img = [[UIImageView alloc]init];
        self.img.contentMode = UIViewContentModeScaleAspectFill;
        self.img.clipsToBounds = YES;
        self.img.layer.cornerRadius = 5;
        self.img.layer.masksToBounds = YES;
        [self addSubview:self.img];
        [self.img mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(0);
            make.left.mas_equalTo(0);
            make.right.mas_equalTo(0);
            make.bottom.mas_equalTo(0);
        }];
        
      
    }
    return self;
}

@end
